<template>
	<view class="hintCard" v-if="isShowHint">
		<view class="mask">
			
		</view>
		<view class="textTitle">
			<text>订单中部分商品信息发生变化</text>
			<text>请重新选择商品</text>
		</view>
		<view class="textDesc">
			订单将自动取消
		</view>
		<view class="confirmBtn" @click="closeHint()">
			确认
		</view>
	</view>

</template>

<script>
	export default {
		props: {
			isShowHint: {
				default: true,
				type: Boolean
			}
		},

		data() {
			return {}
		},

		methods: {
			closeHint(){
				this.$emit('closeHint');
			}
		}
	}
</script>

<style lang="scss" scoped>
	.hintCard {
		z-index: 99999;
		position: absolute;
		left: 52rpx;
		top: 424rpx;
		width: 646rpx;
		height: 468rpx;
		opacity: 1;
		border-radius: 14rpx;
		background: rgba(255, 255, 255, 1);
		display: flex;
		flex-direction: column;
		align-items: center;

		.textTitle {
			margin-top: 90rpx;
			width: 416rpx;
			box-sizing: border-box;
			display: flex;
			flex-direction: column;
			align-items: center;
			font-size: 32rpx;
			font-weight: 500;
			letter-spacing: 0rpx;
			line-height: 46.34rpx;
			color: rgba(0, 0, 0, 1);
		}

		.textDesc {
			margin-top: 32rpx;
			font-size: 28rpx;
			font-weight: 400;
			letter-spacing: 0rpx;
			line-height: 40.54rpx;
			color: rgba(0, 0, 0, 1);
		}

		.confirmBtn {
			margin-top: 70rpx;
			width: 232rpx;
			height: 80rpx;
			opacity: 1;
			border-radius: 26rpx;
			background: rgba(223, 161, 60, 1);
			font-size: 28rpx;
			font-weight: 500;
			letter-spacing: 0rpx;
			line-height: 40.54rpx;
			color: rgba(255, 255, 255, 1);
			display: flex;
			align-items: center;
			justify-content: center;
		}
	}
</style>